<?php

class HomeController extends BaseController {

    public function getIndex() {
    	$news = News::orderBy('date', 'DESC')->paginate(10);

        return View::make('index', compact('news'));
    }
}